package com.yazi.mxz.gather.entity.http;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;


/**
 * 食尚联食吧分页查询响应结果
 * <br/>http://ssls8.com/search.php?sort=goods_id&order=ASC&page=235，结构样板<br/>
 * <br/>&lt;form>
 * <br/>　&lt;div>
 * <br/>　　&lt;div>
 * <br/>　　　&lt;div>
 * <br/>　　　　&lt;a href="goods.php?id=549">&lt;img src="images/goods/20100426/299dd8d98512dc20.jpg"/>&lt;/a>
 * <br/>　　　&lt;/div>
 * <br/>　　　&lt;div>
 * <br/>　　　　&lt;a href="goods.php?id=541">&lt;img src="images/no_picture.gif"/>&lt;/a>
 * <br/>　　　&lt;/div>
 * <br/>　　&lt;/div>
 * <br/>　&lt;/div>
 * <br/>&lt;/form>
 * 
 * @author mo_yq5
 * @date 2015-8-12
 */
@JsonRootName("form")
public class Ssls8ResBody4List {
	Div1 div;
	
	public static class Div1 {// class="centerPadd"
		Div2 div;

		public Div2 getDiv() {
			return div;
		}

		public void setDiv(Div2 div) {
			this.div = div;
		}
	}
	public static class Div2 {// class="clearfix goodsBox"
		@JacksonXmlElementWrapper(useWrapping = false)
		@JacksonXmlProperty(localName="div")
		List<Div> divs;

		public List<Div> getDivs() {
			return divs;
		}

		public void setDivs(List<Div> divs) {
			this.divs = divs;
		}
		
	}
	public static class Div {
		A a;

		public A getA() {
			return a;
		}

		public void setA(A a) {
			this.a = a;
		}
	}
	public static class A {
		@JacksonXmlProperty(isAttribute=true)
		String href;// 详情地址
		Img img;
		public String getHref() {
			return href;
		}
		public void setHref(String href) {
			this.href = href;
		}
		public Img getImg() {
			return img;
		}
		public void setImg(Img img) {
			this.img = img;
		}
	}
	public static class Img {
		@JacksonXmlProperty(isAttribute=true)
		String src;// (小)图片

		public String getSrc() {
			return src;
		}

		public void setSrc(String src) {
			this.src = src;
		}
	}
	public Div1 getDiv() {
		return div;
	}
	public void setDiv(Div1 div) {
		this.div = div;
	}
}
